#include <cstdlib>
#include "iuApplication.hpp"

int main(int argc, char *argv[])
{
   iuApplication application;
   bool useFifo = false;
   char *cmdFile = NULL;
   
   //Lit les arguments
   for (int i = 1; i < argc; i++)
   {
      if (strcmp(argv[i], "-f") == 0)
         useFifo = true;
      else
         cmdFile = argv[i];
   }
   
   application.run(cmdFile, useFifo);
   
   return 0;
}
